package com.zzg.entity;

import java.io.Serializable;

/**
 * 物流(Logistics)实体类
 *
 * @author makejava
 * @since 2021-06-16 09:00:38
 */
public class Logistics {
    /**
     * 物流承担方
     */
    private String logisticsId;
    /**
     * 地区主键id
     */
    private String regionId;
    /**
     * 发货单位
     */
    private String forwardingunit;
    /**
     * 联系电话
     */
    private String phone;
    /**
     * 备用电话
     */
    private String alternatephone;
    /**
     * 银行卡号
     */
    private Double bankcard;
    /**
     * 备注地址
     */
    private String remark;
    /**
     * 联系人名称
     */
    private String name;
    /**
     * 地区实体类
     */
    private TmsRegion tmsRegion;

    public Logistics() {
    }

    public Logistics(String logisticsId, String regionId, String forwardingunit, String phone, String alternatephone, Double bankcard, String remark, String name, TmsRegion tmsRegion) {
        this.logisticsId = logisticsId;
        this.regionId = regionId;
        this.forwardingunit = forwardingunit;
        this.phone = phone;
        this.alternatephone = alternatephone;
        this.bankcard = bankcard;
        this.remark = remark;
        this.name = name;
        this.tmsRegion = tmsRegion;
    }

    public String getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(String logisticsId) {
        this.logisticsId = logisticsId;
    }

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getForwardingunit() {
        return forwardingunit;
    }

    public void setForwardingunit(String forwardingunit) {
        this.forwardingunit = forwardingunit;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAlternatephone() {
        return alternatephone;
    }

    public void setAlternatephone(String alternatephone) {
        this.alternatephone = alternatephone;
    }

    public Double getBankcard() {
        return bankcard;
    }

    public void setBankcard(Double bankcard) {
        this.bankcard = bankcard;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public TmsRegion getTmsRegion() {
        return tmsRegion;
    }

    public void setTmsRegion(TmsRegion tmsRegion) {
        this.tmsRegion = tmsRegion;
    }

    @Override
    public String toString() {
        return "Logistics{" +
                "logisticsId=" + logisticsId +
                ", regionId=" + regionId +
                ", forwardingunit='" + forwardingunit + '\'' +
                ", phone='" + phone + '\'' +
                ", alternatephone='" + alternatephone + '\'' +
                ", bankcard=" + bankcard +
                ", remark='" + remark + '\'' +
                ", name='" + name + '\'' +
                ", tmsRegion=" + tmsRegion +
                '}';
    }


}
